package com.fantabest.common.client;

import java.util.List;

import com.fantabest.common.entity.Manager;
import com.fantabest.common.entity.Player;
import com.fantabest.common.entity.Season;
import com.fantabest.common.entity.Team;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface TeamServiceAsync {

	void findByManager(Manager manager, Season season,
			AsyncCallback<Team> callback);

	void save(Team team, AsyncCallback<Void> callback);

	void findPlayers(Manager manager, Season season,
			AsyncCallback<List<Player>> callback);

}
